\documentclass[12pt,a4paper,oneside]{report}

\usepackage[left=3.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage[pdftex]{graphicx}
\usepackage{indentfirst}
\usepackage[utf8]{inputenc}
\usepackage{latexsym}
\usepackage{minted}
\usepackage[MeX]{polski}

\usepackage{setspace}

\usemintedstyle{borland}

\renewcommand\listingscaption{Kod}
\renewcommand\listoflistingscaption{Spis fragmentów kodu}

\onehalfspacing

\begin{document}

\include{title-page}
\tableofcontents
\include{introduction}
\include{chapter1}
\include{chapter2}
\include{chapter3}
\include{chapter4}
\include{summary}
\include{bibliography}
\listoffigures
\addcontentsline{toc}{chapter}{Spis rysunków}
\listoftables
\addcontentsline{toc}{chapter}{Spis tabel}
\listoflistings
\addcontentsline{toc}{chapter}{Spis fragmentów kodu}

\end{document}
